renderbackground: Pull out a gdk_rgba_is_clear check
authorTimm Bäder <mail@baedert.org>
Tue, 9 Jan 2018 04:59:19 +0000 (05:59 +0100)
committerTimm Bäder <mail@baedert.org>
Wed, 10 Jan 2018 07:46:22 +0000 (08:46 +0100)
commitc9e6fcd5fa4d7cdebe832866b0ea3c98fb3955fb
tree9ef0c0de8059a707a59897b1fadea346a00624d1
parentb6ee3490c3336e8a2ff700a2787cc456787a5247
renderbackground: Pull out a gdk_rgba_is_clear check

We only call snapshot_color once, and this way it's clearer that nothing
will happen for a clear color from the caller side.
gtk/gtkrenderbackground.c